bind: save out served domains on service stop
authorPhilip Prindeville <[email protected]>
Tue, 2 Dec 2025 04:26:23 +0000 (21:26 -0700)
committerPhilip Prindeville <[email protected]>
Sat, 6 Dec 2025 21:05:05 +0000 (14:05 -0700)
If named gets stopped, then started again, but isc-dhcpd isn't also
restarted, then we want named to at least have the existing content.

Signed-off-by: Philip Prindeville <[email protected]>
net/bind/Makefile
net/bind/files/named.init

index 2eb7c30738687a55926b74c6f913cf198ed34a01..cfea57f22edf6f9ee2a2cdb82e279e8fc3c6d34e 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=bind
 PKG_VERSION:=9.20.15
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 USERID:=bind=57:bind=57
 
 PKG_MAINTAINER:=Noah Meyerhans <[email protected]>
index 08a142e3ca39931e2963547f3b3cc0428385df84..e626149c43e19574b3365a6da70bc6a03e62814c 100644 (file)
@@ -20,6 +20,10 @@ reload_service() {
        rndc -q reload
 }
 
+stop_service() {
+       rndc stop
+}
+
 start_service() {
        user_exists bind 57 || user_add bind 57
        group_exists bind 57 || group_add bind 57